<script setup lang="ts">
import { logOutLogin } from '@/auth/auth.service.ts'
import { useRouter } from 'vue-router'
const exitLogin = () => {
  logOutLogin()
}
</script>

<template>
  <div class="no-auth">
    <el-empty description="无权限" />
    <el-button type="primary" @click="exitLogin()">退出登录</el-button>
  </div>
</template>

<style scoped lang="scss">
  .no-auth {
    width: 100vw;
    height: 100vh;
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
</style>